<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link href="css/mui.min.css" rel="stylesheet" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<h1 class="mui-title">标题</h1>
		</header>
		<div class="mui-content">
			<button type="button" class="mui-btn mui-btn-blue mui-btn-block" id="Btn">按钮</button>
		</div>
	</body>
	<script src="js/mui.min.js"></script>
	<script src="js/baseMui.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" charset="utf-8">
		mui.init();
		console.log(baseMui.getScreenInfo('hight'));
		//获取设备信息
		baseMui.getDeviceinfo(function(json) {
			console.log(JSON.stringify(json));
		});
		baseMui.getMachineinfo(function(json) {
			console.log(JSON.stringify(json));
		});
		mui.gett('',{
				
			},function(data){
				
			},'json'
		);
		//baseMui.beep();
		//baseMui.vibrate();

		//打电话
		/*baseMui.id('Btn').addEventListener('tap',function(){
			baseMui.callPhone('13800138000');
		})*/
		//发短信
		/*var targetPhone = ['18109485312','18894001403'];
		baseMui.id('Btn').addEventListener('tap',function(){
			console.log('点击按钮');
			baseMui.sendSms(targetPhone,'测试');
		});*/

		//baseMui.toast('提示消息');
		/*baseMui.id('Btn').addEventListener('tap', function() {
			baseMui.alert({
				title: '这是标题',
				content: '这是内容',
				callback: function() {
					baseMui.toast('点击了');
				}
			});
		})*/
		/*baseMui.id('Btn').addEventListener('tap', function() {
			console.log('点击按钮');
			baseMui.confirm({
				title: '这是标题',
				content: '这是内容',
				successcallback: function() {
					baseMui.toast('你点击了确定');
				},
				failcallback:function(){
					baseMui.toast('你点击了取消');
				}
			});
		})*/
		
		/*baseMui.id('Btn').addEventListener('tap', function() {
			console.log('点击按钮');
			baseMui.prompt({
				title: '这是标题',
				content: '这是内容',
				successcallback: function(data) {
					console.log(JSON.stringify(data));
					baseMui.toast('你点击了确定');
				},
				failcallback:function(){
					baseMui.toast('你点击了取消');
				}
			});
		})*/
	</script>

</html>